Skip to content

chore(deps): upgrade Storybook glob dependency to v14 - #46080

Merged
hyoban merged 3 commits into
mainfrom
chore/deps-storybook-glob14-43035
Nov 11, 2026
Merged

hyoban merged 3 commits into
mainfrom
chore/deps-storybook-glob14-43035

Conversation

@hyoban

@hyoban hyoban commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary

Upgrade the glob dependency of @joshwooding/vite-plugin-react-docgen-typescript 0.7.0 to 14.0.4 with a parent-scoped override. This keeps Storybook's existing docgen backend while updating its file-selection dependency and that chain's minimatch implementation.

Docgen 0.9.1 replaces glob with tinyglobby, but pnpm rejects its missing provenance under the existing no-downgrade trust policy. Retain the provenance-verified 0.7.0 release and preserve the trust policy without adding an exception.

Refs #43035. Based independently on main after #46057. Glob 13 inspects RegExp-based minimatch internals removed in version 11, so its matcher cannot be upgraded alone. The separate scoped minimatch PR #46081 covers the seven other ESLint/TSSLint consumers; this glob 14 change upgrades the remaining chain.

Validation

  • Actual legacy docgen transforms before/after the glob upgrade preserved prop descriptions, required/default values, and included/excluded TSX fixture selection.
  • YAML ESLint and two-thread formatting passed before the split.
  • On the independent latest-main branch: regenerated the lockfile, then passed normal frozen install with lifecycle scripts and strict policies. Re-ran the real docgen fixture: prop metadata and include/exclude selection matched the original output. YAML ESLint and formatting passed.
  • Full Storybook/CI checks remain pending on this draft.

Checklist

  • Linked the existing dependency-tracking issue and reviewed the contribution guidelines.
  • Verified the real docgen consumer rather than assuming a cross-major API match.
  • Preserved the repository's supply-chain policy.

@github-actions github-actions Bot added size:XS This PR changes 0-9 lines, ignoring generated files. web This relates to changes on the web. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Nov 11, 2026
@github-actions github-actions Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 11, 2026
@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.14%. Comparing base (d67d01d) to head (694ab7b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #46080   +/-   ##
=======================================
  Coverage   90.14%   90.14%           
=======================================
  Files        6307     6307           
  Lines      394779   394779           
  Branches    79187    79187           
=======================================
+ Hits       355879   355884    +5     
+ Misses      32783    32778    -5     
  Partials     6117     6117           
Flag Coverage Δ
cli 94.26% <ø> (ø)
dify-ui 92.65% <ø> (ø)
web 90.14% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…glob14-43035

# Conflicts:
#	pnpm-lock.yaml
#	pnpm-workspace.yaml
…glob14-43035

# Conflicts:
#	pnpm-lock.yaml
#	pnpm-workspace.yaml
@hyoban
hyoban marked this pull request as ready for review November 11, 2026 14:48
@hyoban
hyoban added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit 179915a Nov 11, 2026
64 checks passed
@hyoban
hyoban deleted the chore/deps-storybook-glob14-43035 branch November 11, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants